package com.parleys.guice;

import roboguice.config.AbstractAndroidModule;

import com.parleys.service.DBAdapterImpl;
import com.parleys.service.ParleysHTTPClientImpl;
import com.parleys.service.ParleysServiceImpl;
import com.parleys.service.PresentationAssetsServiceImpl;
import com.parleys.service.RestClientImpl;
import com.parleys.service.intf.DBAdapter;
import com.parleys.service.intf.ParleysHTTPClient;
import com.parleys.service.intf.ParleysService;
import com.parleys.service.intf.PresentationAssetsService;
import com.parleys.service.intf.RestClient;

/**
 * Configures guice bindings
 * 
 * @author David Van Droogenbroeck
 * 
 */
public class ParleysModule extends AbstractAndroidModule {

	@Override
	protected void configure() {
		bind(DBAdapter.class).to(DBAdapterImpl.class);
		bind(ParleysHTTPClient.class).to(ParleysHTTPClientImpl.class);
		bind(ParleysService.class).to(ParleysServiceImpl.class);
		bind(PresentationAssetsService.class).to(PresentationAssetsServiceImpl.class);
		bind(RestClient.class).to(RestClientImpl.class);
	}

}
